package it.slkfarm.bean;

import java.io.Serializable;
import java.util.List;

public class Farm implements Serializable
{
	private static final long serialVersionUID = 7465804156714404007L;
	/**
	 * @uml.property  name="id"
	 */
	private int id;
	/**
	 * @uml.property  name="name"
	 */
	private String name;
	/**
	 * @uml.property  name="agroGeolocigalRegionId"
	 */
	private int agroGeolocigalRegionId;
	/**
	 * @uml.property  name="farmerId"
	 */
	private int farmerId;
	/**
	 * @uml.property  name="latitude"
	 */
	private double latitude;
	/**
	 * @uml.property  name="longitude"
	 */
	private double longitude;
	/**
	 * @uml.property  name="listProduction"
	 * @uml.associationEnd  multiplicity="(0 -1)" elementType="it.slkfarm.bean.ProductionBean"
	 */
	private List<ProductionBean> listProduction;
	
	
	
	
	public List<ProductionBean> getListProduction() {
		return listProduction;
	}
	public void setListProduction(List<ProductionBean> listProduction) {
		this.listProduction = listProduction;
	}
	/**
	 * @return
	 * @uml.property  name="latitude"
	 */
	public double getLatitude() {
		return latitude;
	}
	/**
	 * @param latitude
	 * @uml.property  name="latitude"
	 */
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	/**
	 * @return
	 * @uml.property  name="longitude"
	 */
	public double getLongitude() {
		return longitude;
	}
	/**
	 * @param logitude
	 * @uml.property  name="longitude"
	 */
	public void setLongitude(double logitude) {
		this.longitude = logitude;
	}
	/**
	 * @return
	 * @uml.property  name="farmerId"
	 */
	public int getFarmerId() {
		return farmerId;
	}
	/**
	 * @param farmerId
	 * @uml.property  name="farmerId"
	 */
	public void setFarmerId(int farmerId) {
		this.farmerId = farmerId;
	}
	/**
	 * @return
	 * @uml.property  name="id"
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id
	 * @uml.property  name="id"
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return
	 * @uml.property  name="name"
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name
	 * @uml.property  name="name"
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return
	 * @uml.property  name="agroGeolocigalRegionId"
	 */
	public int getAgroGeolocigalRegionId() {
		return agroGeolocigalRegionId;
	}
	/**
	 * @param agroGeolocigalRegionId
	 * @uml.property  name="agroGeolocigalRegionId"
	 */
	public void setAgroGeolocigalRegionId(int agroGeolocigalRegionId) {
		this.agroGeolocigalRegionId = agroGeolocigalRegionId;
	}

	
	
}
